package nc.ui.baoyin.prdtotal;

import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.businessaction.IBusinessActionType;

import nc.vo.baoyin.prdtotal.MyBillVO;
import nc.vo.baoyin.prdtotal.BaoyinTotalMainVO;
import nc.vo.baoyin.prdtotal.BaoyinTotalAdjustVO;
import nc.ui.trade.button.IBillButton;


public class ClientUICtrl extends AbstractManageController {

	public String[] getCardBodyHideCol() {
		return null;
	}

	public int[] getCardButtonAry() {

		return new int[] { IBillButton.Query,
				IBillButton.Refresh,
				IBillButton.Add,
				IBillButton.Copy,
				IBillButton.Edit,
				IBillButton.Line,
				IBillButton.Delete,
				nc.ui.baoyin.buttons.ICustomerButton.total,
				//                                                                                    nc.ui.baoyin.buttons.ICustomerButton.calcUnitForMaterialOfProcess,
				nc.ui.baoyin.buttons.ICustomerButton.ProductIOCount,
				IBillButton.Save, IBillButton.Cancel, IBillButton.Return,
				IBillButton.Audit, IBillButton.CancelAudit,
//				nc.ui.baoyin.buttons.ICustomerButton.selfdef2,
//				nc.ui.baoyin.buttons.ICustomerButton.selfdef3
		//                               	           	         	           	             	nc.ui.baoyin.buttons.ICustomerButton.AdjustSum
		};

	}

	public int[] getListButtonAry() {
		return new int[] { IBillButton.Query,
				IBillButton.Refresh,
				IBillButton.Add,
				IBillButton.Copy,
				IBillButton.Edit,
				IBillButton.Line,
				IBillButton.Delete,
				nc.ui.baoyin.buttons.ICustomerButton.total,
				//	           	         	           	             nc.ui.baoyin.buttons.ICustomerButton.calcUnitForMaterialOfProcess,
				nc.ui.baoyin.buttons.ICustomerButton.ProductIOCount,
				IBillButton.Save, IBillButton.Cancel, IBillButton.Card,
				IBillButton.Audit, IBillButton.CancelAudit,
				nc.ui.baoyin.buttons.ICustomerButton.selfdef2,
				nc.ui.baoyin.buttons.ICustomerButton.selfdef3
		//	           	         	           	             nc.ui.baoyin.buttons.ICustomerButton.AdjustSum

		};

	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public boolean isShowCardTotal() {
		return true;
	}

	public String getBillType() {
		return "800570";
	}

	public String[] getBillVoName() {
		return new String[] { MyBillVO.class.getName(),
				BaoyinTotalMainVO.class.getName(),
				BaoyinTotalAdjustVO.class.getName() };
	}

	public String getBodyCondition() {
		return null;
	}

	public String getBodyZYXKey() {
		return null;
	}

	public int getBusinessActionType() {
		return IBusinessActionType.BD;
	}

	public String getChildPkField() {
		return null;
	}

	public String getHeadZYXKey() {
		return null;
	}

	public String getPkField() {
		return null;
	}

	public Boolean isEditInGoing() throws Exception {
		return null;
	}

	public boolean isExistBillStatus() {
		return false;
	}

	public boolean isLoadCardFormula() {
		return true;
	}

	public String[] getListBodyHideCol() {
		return null;
	}

	public String[] getListHeadHideCol() {
		return null;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public boolean isShowListTotal() {
		return true;
	}
}
